package com.dao;

import com.model.pojo.Commodity;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CommodityMapper {

    Integer addCommodity(Commodity commodity);

    List<Commodity> findAll(Commodity commodity);

    Integer del(Commodity commodity);
}

